package cn.dansj.service;

import cn.dansj.entity.Setting;

import java.util.List;
import java.util.Map;

public interface SettingService {

    List<String> getTitle();

    List<Setting> getAllByClassCode(String classCode);

    List<Setting> getAll();

    Setting getBySequence(String sequence);

    void save(Setting setting);

    int save(List<Setting> settings);

    void updateSort(String sequence, String rn);

    void updateSort(List<Map<String, String>> settings);

    Setting getByClassCodeAndName(String classCode, String name);

    int countByClassCodeAndName(String classCode, String name);

    int getMaxRN(String classCode);
}
